#pragma once

#include <string>
#include <iostream>

using std::string;
using std::cout;
using std::endl;

class Brand
{
public:
	virtual ~Brand() {}
	void Show() { cout << _key << endl; }
	string GetKey() { return _key; }
protected:
	Brand(string key) : _key(key) {}
private:
	string _key;
};

class MobileBrand : public Brand
{
public:
	MobileBrand(string key) : Brand(key) {}
	~MobileBrand() {}
protected:
private:
};